home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / RLaB 1.15c / rlib / sinh.r < prev    next >
Encoding:
Text File  |  1994-02-21  |  306 b   |  15 lines  |  [TEXT/RLAB]

  1. //-------------------------------------------------------------------//
  2.  
  3. //  Syntax:  sinh ( X )
  4.  
  5. //  Description:
  6.  
  7. //  Sinh is the hyperbolic sine of the element(s) of X.
  8.  
  9. //-------------------------------------------------------------------//
  10.  
  11. sinh = function ( x )
  12. {
  13.   return (exp (x) - exp (-x))/2;
  14. };
  15.